const {override,fixBabelImports,addLessLoader,addBabelPlugin} =require("customize-cra");
module.exports = override(
    fixBabelImports('import', {
      libraryName: 'antd',
      style: true,
    }),
    addLessLoader({//less引入
      javascriptEnabled: true,
      modifyVars: { '@primary-color': '#00b38a' },
   }),
   addBabelPlugin(["@babel/plugin-proposal-decorators", {"legacy": true}])
  
 

  );